<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span id="local-6989586621679072017"><span id="local-6989586621679072018"></span></span><span class="hs-pragma">{-# OPTIONS -fno-warn-orphans #-}</span><span>
</span><span id="line-2"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Data.Time.LocalTime.Internal.LocalTime</span><span>
</span><span id="line-3"></span><span class="hs-special">(</span><span>
</span><span id="line-4"></span><span>    </span><span class="annot"><span class="hs-comment">-- * Local Time</span></span><span>
</span><span id="line-5"></span><span>    </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier">LocalTime</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-6"></span><span>
</span><span id="line-7"></span><span>    </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#addLocalTime"><span class="hs-identifier">addLocalTime</span></a></span><span class="hs-special">,</span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#diffLocalTime"><span class="hs-identifier">diffLocalTime</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-8"></span><span>
</span><span id="line-9"></span><span>    </span><span class="hs-comment">-- converting UTC and UT1 times to LocalTime</span><span>
</span><span id="line-10"></span><span>    </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#utcToLocalTime"><span class="hs-identifier">utcToLocalTime</span></a></span><span class="hs-special">,</span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#localTimeToUTC"><span class="hs-identifier">localTimeToUTC</span></a></span><span class="hs-special">,</span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#ut1ToLocalTime"><span class="hs-identifier">ut1ToLocalTime</span></a></span><span class="hs-special">,</span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#localTimeToUT1"><span class="hs-identifier">localTimeToUT1</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-11"></span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-12"></span><span>
</span><span id="line-13"></span><span>
</span><span id="line-14"></span><span>
</span><span id="line-15"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../deepseq/src/Control.DeepSeq.html#"><span class="hs-identifier">Control.DeepSeq</span></a></span><span>
</span><span id="line-16"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Data.Typeable.html#"><span class="hs-identifier">Data.Typeable</span></a></span><span>
</span><span id="line-17"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Data.Data.html#"><span class="hs-identifier">Data.Data</span></a></span><span>
</span><span id="line-18"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Data.Time.Calendar.Days.html"><span class="hs-identifier">Data.Time.Calendar.Days</span></a></span><span>
</span><span id="line-19"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Data.Time.Calendar.Gregorian.html"><span class="hs-identifier">Data.Time.Calendar.Gregorian</span></a></span><span>
</span><span id="line-20"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.NominalDiffTime.html"><span class="hs-identifier">Data.Time.Clock.Internal.NominalDiffTime</span></a></span><span>
</span><span id="line-21"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.UniversalTime.html"><span class="hs-identifier">Data.Time.Clock.Internal.UniversalTime</span></a></span><span>
</span><span id="line-22"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.UTCDiff.html"><span class="hs-identifier">Data.Time.Clock.Internal.UTCDiff</span></a></span><span>
</span><span id="line-23"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.UTCTime.html"><span class="hs-identifier">Data.Time.Clock.Internal.UTCTime</span></a></span><span>
</span><span id="line-24"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.TimeOfDay.html"><span class="hs-identifier">Data.Time.LocalTime.Internal.TimeOfDay</span></a></span><span>
</span><span id="line-25"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.TimeZone.html"><span class="hs-identifier">Data.Time.LocalTime.Internal.TimeZone</span></a></span><span>
</span><span id="line-26"></span><span>
</span><span id="line-27"></span><span>
</span><span id="line-28"></span><span class="hs-comment">-- | A simple day and time aggregate, where the day is of the specified parameter,</span><span>
</span><span id="line-29"></span><span class="hs-comment">-- and the time is a TimeOfDay.</span><span>
</span><span id="line-30"></span><span class="hs-comment">-- Conversion of this (as local civil time) to UTC depends on the time zone.</span><span>
</span><span id="line-31"></span><span class="hs-comment">-- Conversion of this (as local mean time) to UT1 depends on the longitude.</span><span>
</span><span id="line-32"></span><span class="hs-keyword">data</span><span> </span><span id="LocalTime"><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-var">LocalTime</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="LocalTime"><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-var">LocalTime</span></a></span></span><span> </span><span class="hs-special">{</span><span>
</span><span id="line-33"></span><span>    </span><span id="localDay"><span class="annot"><span class="annottext">LocalTime -&gt; Day
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#localDay"><span class="hs-identifier hs-var hs-var">localDay</span></a></span></span><span>    </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Data.Time.Calendar.Days.html#Day"><span class="hs-identifier hs-type">Day</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-34"></span><span>    </span><span id="localTimeOfDay"><span class="annot"><span class="annottext">LocalTime -&gt; TimeOfDay
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#localTimeOfDay"><span class="hs-identifier hs-var hs-var">localTimeOfDay</span></a></span></span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.TimeOfDay.html#TimeOfDay"><span class="hs-identifier hs-type">TimeOfDay</span></a></span><span>
</span><span id="line-35"></span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679071990"><span id="local-6989586621679071996"><span class="annot"><span class="annottext">LocalTime -&gt; LocalTime -&gt; Bool
(LocalTime -&gt; LocalTime -&gt; Bool)
-&gt; (LocalTime -&gt; LocalTime -&gt; Bool) -&gt; Eq LocalTime
forall a. (a -&gt; a -&gt; Bool) -&gt; (a -&gt; a -&gt; Bool) -&gt; Eq a
/= :: LocalTime -&gt; LocalTime -&gt; Bool
$c/= :: LocalTime -&gt; LocalTime -&gt; Bool
== :: LocalTime -&gt; LocalTime -&gt; Bool
$c== :: LocalTime -&gt; LocalTime -&gt; Bool
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Eq</span></span></span></span><span class="hs-special">,</span><span id="local-6989586621679071964"><span id="local-6989586621679071966"><span id="local-6989586621679071969"><span id="local-6989586621679071972"><span id="local-6989586621679071975"><span id="local-6989586621679071979"><span id="local-6989586621679071985"><span class="annot"><span class="annottext">Eq LocalTime
Eq LocalTime
-&gt; (LocalTime -&gt; LocalTime -&gt; Ordering)
-&gt; (LocalTime -&gt; LocalTime -&gt; Bool)
-&gt; (LocalTime -&gt; LocalTime -&gt; Bool)
-&gt; (LocalTime -&gt; LocalTime -&gt; Bool)
-&gt; (LocalTime -&gt; LocalTime -&gt; Bool)
-&gt; (LocalTime -&gt; LocalTime -&gt; LocalTime)
-&gt; (LocalTime -&gt; LocalTime -&gt; LocalTime)
-&gt; Ord LocalTime
LocalTime -&gt; LocalTime -&gt; Bool
LocalTime -&gt; LocalTime -&gt; Ordering
LocalTime -&gt; LocalTime -&gt; LocalTime
forall a.
Eq a
-&gt; (a -&gt; a -&gt; Ordering)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; a)
-&gt; (a -&gt; a -&gt; a)
-&gt; Ord a
min :: LocalTime -&gt; LocalTime -&gt; LocalTime
$cmin :: LocalTime -&gt; LocalTime -&gt; LocalTime
max :: LocalTime -&gt; LocalTime -&gt; LocalTime
$cmax :: LocalTime -&gt; LocalTime -&gt; LocalTime
&gt;= :: LocalTime -&gt; LocalTime -&gt; Bool
$c&gt;= :: LocalTime -&gt; LocalTime -&gt; Bool
&gt; :: LocalTime -&gt; LocalTime -&gt; Bool
$c&gt; :: LocalTime -&gt; LocalTime -&gt; Bool
&lt;= :: LocalTime -&gt; LocalTime -&gt; Bool
$c&lt;= :: LocalTime -&gt; LocalTime -&gt; Bool
&lt; :: LocalTime -&gt; LocalTime -&gt; Bool
$c&lt; :: LocalTime -&gt; LocalTime -&gt; Bool
compare :: LocalTime -&gt; LocalTime -&gt; Ordering
$ccompare :: LocalTime -&gt; LocalTime -&gt; Ordering
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Ord</span></span></span></span></span></span></span></span></span><span class="hs-special">,</span><span id="local-6989586621679071927"><span id="local-6989586621679071929"><span id="local-6989586621679071931"><span id="local-6989586621679071933"><span id="local-6989586621679071935"><span id="local-6989586621679071937"><span id="local-6989586621679071939"><span id="local-6989586621679071941"><span id="local-6989586621679071943"><span id="local-6989586621679071945"><span id="local-6989586621679071947"><span id="local-6989586621679071949"><span id="local-6989586621679071953"><span id="local-6989586621679071959"><span class="annot"><span class="annottext">Typeable LocalTime
Typeable LocalTime
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; LocalTime -&gt; c LocalTime)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c LocalTime)
-&gt; (LocalTime -&gt; Constr)
-&gt; (LocalTime -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c LocalTime))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c LocalTime))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; LocalTime -&gt; LocalTime)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LocalTime -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LocalTime -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; LocalTime -&gt; [u])
-&gt; (forall u.
    Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; LocalTime -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; LocalTime -&gt; m LocalTime)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; LocalTime -&gt; m LocalTime)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; LocalTime -&gt; m LocalTime)
-&gt; Data LocalTime
LocalTime -&gt; DataType
LocalTime -&gt; Constr
(forall b. Data b =&gt; b -&gt; b) -&gt; LocalTime -&gt; LocalTime
forall a.
Typeable a
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; a -&gt; c a)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c a)
-&gt; (a -&gt; Constr)
-&gt; (a -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c a))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c a))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; a -&gt; a)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; [u])
-&gt; (forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; Data a
forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; LocalTime -&gt; u
forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; LocalTime -&gt; [u]
forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LocalTime -&gt; r
forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LocalTime -&gt; r
forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; LocalTime -&gt; m LocalTime
forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; LocalTime -&gt; m LocalTime
forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c LocalTime
forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; LocalTime -&gt; c LocalTime
forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c LocalTime)
forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c LocalTime)
gmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; LocalTime -&gt; m LocalTime
$cgmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; LocalTime -&gt; m LocalTime
gmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; LocalTime -&gt; m LocalTime
$cgmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; LocalTime -&gt; m LocalTime
gmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; LocalTime -&gt; m LocalTime
$cgmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d) -&gt; LocalTime -&gt; m LocalTime
gmapQi :: forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; LocalTime -&gt; u
$cgmapQi :: forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; LocalTime -&gt; u
gmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; LocalTime -&gt; [u]
$cgmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; LocalTime -&gt; [u]
gmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LocalTime -&gt; r
$cgmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LocalTime -&gt; r
gmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LocalTime -&gt; r
$cgmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; LocalTime -&gt; r
gmapT :: (forall b. Data b =&gt; b -&gt; b) -&gt; LocalTime -&gt; LocalTime
$cgmapT :: (forall b. Data b =&gt; b -&gt; b) -&gt; LocalTime -&gt; LocalTime
dataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c LocalTime)
$cdataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c LocalTime)
dataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c LocalTime)
$cdataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c LocalTime)
dataTypeOf :: LocalTime -&gt; DataType
$cdataTypeOf :: LocalTime -&gt; DataType
toConstr :: LocalTime -&gt; Constr
$ctoConstr :: LocalTime -&gt; Constr
gunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c LocalTime
$cgunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c LocalTime
gfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; LocalTime -&gt; c LocalTime
$cgfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; LocalTime -&gt; c LocalTime
</span><a href="../../base/src/Data.Data.html#Data"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Data</span></a></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../../base/src/Data.Typeable.Internal.html#Typeable"><span class="hs-identifier hs-type">Typeable</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-36"></span><span>
</span><span id="line-37"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="../../deepseq/src/Control.DeepSeq.html#NFData"><span class="hs-identifier hs-type">NFData</span></a></span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-38"></span><span>    </span><span id="local-6989586621679071918"><span class="annot"><span class="annottext">rnf :: LocalTime -&gt; ()
</span><a href="../../deepseq/src/Control.DeepSeq.html#rnf"><span class="hs-identifier hs-var hs-var hs-var hs-var">rnf</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span> </span><span id="local-6989586621679071916"><span class="annot"><span class="annottext">Day
</span><a href="#local-6989586621679071916"><span class="hs-identifier hs-var">d</span></a></span></span><span> </span><span id="local-6989586621679071915"><span class="annot"><span class="annottext">TimeOfDay
</span><a href="#local-6989586621679071915"><span class="hs-identifier hs-var">t</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Day -&gt; ()
forall a. NFData a =&gt; a -&gt; ()
</span><a href="../../deepseq/src/Control.DeepSeq.html#rnf"><span class="hs-identifier hs-var">rnf</span></a></span><span> </span><span class="annot"><span class="annottext">Day
</span><a href="#local-6989586621679071916"><span class="hs-identifier hs-var">d</span></a></span><span> </span><span class="annot"><span class="annottext">() -&gt; () -&gt; ()
</span><span class="hs-operator hs-var">`seq`</span></span><span> </span><span class="annot"><span class="annottext">TimeOfDay -&gt; ()
forall a. NFData a =&gt; a -&gt; ()
</span><a href="../../deepseq/src/Control.DeepSeq.html#rnf"><span class="hs-identifier hs-var">rnf</span></a></span><span> </span><span class="annot"><span class="annottext">TimeOfDay
</span><a href="#local-6989586621679071915"><span class="hs-identifier hs-var">t</span></a></span><span> </span><span class="annot"><span class="annottext">() -&gt; () -&gt; ()
</span><span class="hs-operator hs-var">`seq`</span></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-39"></span><span>
</span><span id="line-40"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679071910"><span id="local-6989586621679071913"><span class="annot"><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-type">Show</span></a></span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-41"></span><span>    </span><span id="local-6989586621679071906"><span class="annot"><span class="annottext">show :: LocalTime -&gt; String
</span><a href="../../base/src/GHC.Show.html#show"><span class="hs-identifier hs-var hs-var hs-var hs-var">show</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span> </span><span id="local-6989586621679071904"><span class="annot"><span class="annottext">Day
</span><a href="#local-6989586621679071904"><span class="hs-identifier hs-var">d</span></a></span></span><span> </span><span id="local-6989586621679071903"><span class="annot"><span class="annottext">TimeOfDay
</span><a href="#local-6989586621679071903"><span class="hs-identifier hs-var">t</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Day -&gt; String
</span><a href="Data.Time.Calendar.Gregorian.html#showGregorian"><span class="hs-identifier hs-var">showGregorian</span></a></span><span> </span><span class="annot"><span class="annottext">Day
</span><a href="#local-6989586621679071904"><span class="hs-identifier hs-var">d</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">String -&gt; ShowS
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot; &quot;</span></span><span> </span><span class="annot"><span class="annottext">String -&gt; ShowS
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">TimeOfDay -&gt; String
forall a. Show a =&gt; a -&gt; String
</span><a href="../../base/src/GHC.Show.html#show"><span class="hs-identifier hs-var">show</span></a></span><span> </span><span class="annot"><span class="annottext">TimeOfDay
</span><a href="#local-6989586621679071903"><span class="hs-identifier hs-var">t</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-42"></span><span>
</span><span id="line-43"></span><span class="hs-comment">-- | addLocalTime a b = a + b</span><span>
</span><span id="line-44"></span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#addLocalTime"><span class="hs-identifier hs-type">addLocalTime</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.NominalDiffTime.html#NominalDiffTime"><span class="hs-identifier hs-type">NominalDiffTime</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span>
</span><span id="line-45"></span><span id="addLocalTime"><span class="annot"><span class="annottext">addLocalTime :: NominalDiffTime -&gt; LocalTime -&gt; LocalTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#addLocalTime"><span class="hs-identifier hs-var hs-var">addLocalTime</span></a></span></span><span> </span><span id="local-6989586621679071901"><span class="annot"><span class="annottext">NominalDiffTime
</span><a href="#local-6989586621679071901"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">TimeZone -&gt; UTCTime -&gt; LocalTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#utcToLocalTime"><span class="hs-identifier hs-var">utcToLocalTime</span></a></span><span> </span><span class="annot"><span class="annottext">TimeZone
</span><a href="Data.Time.LocalTime.Internal.TimeZone.html#utc"><span class="hs-identifier hs-var">utc</span></a></span><span> </span><span class="annot"><span class="annottext">(UTCTime -&gt; LocalTime)
-&gt; (LocalTime -&gt; UTCTime) -&gt; LocalTime -&gt; LocalTime
forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="../../base/src/GHC.Base.html#."><span class="hs-operator hs-var">.</span></a></span><span> </span><span class="annot"><span class="annottext">NominalDiffTime -&gt; UTCTime -&gt; UTCTime
</span><a href="Data.Time.Clock.Internal.UTCDiff.html#addUTCTime"><span class="hs-identifier hs-var">addUTCTime</span></a></span><span> </span><span class="annot"><span class="annottext">NominalDiffTime
</span><a href="#local-6989586621679071901"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">(UTCTime -&gt; UTCTime)
-&gt; (LocalTime -&gt; UTCTime) -&gt; LocalTime -&gt; UTCTime
forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="../../base/src/GHC.Base.html#."><span class="hs-operator hs-var">.</span></a></span><span> </span><span class="annot"><span class="annottext">TimeZone -&gt; LocalTime -&gt; UTCTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#localTimeToUTC"><span class="hs-identifier hs-var">localTimeToUTC</span></a></span><span> </span><span class="annot"><span class="annottext">TimeZone
</span><a href="Data.Time.LocalTime.Internal.TimeZone.html#utc"><span class="hs-identifier hs-var">utc</span></a></span><span>
</span><span id="line-46"></span><span>
</span><span id="line-47"></span><span class="hs-comment">-- | diffLocalTime a b = a - b</span><span>
</span><span id="line-48"></span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#diffLocalTime"><span class="hs-identifier hs-type">diffLocalTime</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.NominalDiffTime.html#NominalDiffTime"><span class="hs-identifier hs-type">NominalDiffTime</span></a></span><span>
</span><span id="line-49"></span><span id="diffLocalTime"><span class="annot"><span class="annottext">diffLocalTime :: LocalTime -&gt; LocalTime -&gt; NominalDiffTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#diffLocalTime"><span class="hs-identifier hs-var hs-var">diffLocalTime</span></a></span></span><span> </span><span id="local-6989586621679071897"><span class="annot"><span class="annottext">LocalTime
</span><a href="#local-6989586621679071897"><span class="hs-identifier hs-var">a</span></a></span></span><span> </span><span id="local-6989586621679071896"><span class="annot"><span class="annottext">LocalTime
</span><a href="#local-6989586621679071896"><span class="hs-identifier hs-var">b</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">UTCTime -&gt; UTCTime -&gt; NominalDiffTime
</span><a href="Data.Time.Clock.Internal.UTCDiff.html#diffUTCTime"><span class="hs-identifier hs-var">diffUTCTime</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">TimeZone -&gt; LocalTime -&gt; UTCTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#localTimeToUTC"><span class="hs-identifier hs-var">localTimeToUTC</span></a></span><span> </span><span class="annot"><span class="annottext">TimeZone
</span><a href="Data.Time.LocalTime.Internal.TimeZone.html#utc"><span class="hs-identifier hs-var">utc</span></a></span><span> </span><span class="annot"><span class="annottext">LocalTime
</span><a href="#local-6989586621679071897"><span class="hs-identifier hs-var">a</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">TimeZone -&gt; LocalTime -&gt; UTCTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#localTimeToUTC"><span class="hs-identifier hs-var">localTimeToUTC</span></a></span><span> </span><span class="annot"><span class="annottext">TimeZone
</span><a href="Data.Time.LocalTime.Internal.TimeZone.html#utc"><span class="hs-identifier hs-var">utc</span></a></span><span> </span><span class="annot"><span class="annottext">LocalTime
</span><a href="#local-6989586621679071896"><span class="hs-identifier hs-var">b</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-50"></span><span>
</span><span id="line-51"></span><span class="hs-comment">-- | Get the local time of a UTC time in a time zone.</span><span>
</span><span id="line-52"></span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#utcToLocalTime"><span class="hs-identifier hs-type">utcToLocalTime</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.TimeZone.html#TimeZone"><span class="hs-identifier hs-type">TimeZone</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.UTCTime.html#UTCTime"><span class="hs-identifier hs-type">UTCTime</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span>
</span><span id="line-53"></span><span id="utcToLocalTime"><span class="annot"><span class="annottext">utcToLocalTime :: TimeZone -&gt; UTCTime -&gt; LocalTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#utcToLocalTime"><span class="hs-identifier hs-var hs-var">utcToLocalTime</span></a></span></span><span> </span><span id="local-6989586621679071894"><span class="annot"><span class="annottext">TimeZone
</span><a href="#local-6989586621679071894"><span class="hs-identifier hs-var">tz</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.Clock.Internal.UTCTime.html#UTCTime"><span class="hs-identifier hs-type">UTCTime</span></a></span><span> </span><span id="local-6989586621679071892"><span class="annot"><span class="annottext">Day
</span><a href="#local-6989586621679071892"><span class="hs-identifier hs-var">day</span></a></span></span><span> </span><span id="local-6989586621679071891"><span class="annot"><span class="annottext">DiffTime
</span><a href="#local-6989586621679071891"><span class="hs-identifier hs-var">dt</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Day -&gt; TimeOfDay -&gt; LocalTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-var">LocalTime</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Integer -&gt; Day -&gt; Day
</span><a href="Data.Time.Calendar.Days.html#addDays"><span class="hs-identifier hs-var">addDays</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679071889"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Day
</span><a href="#local-6989586621679071892"><span class="hs-identifier hs-var">day</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">TimeOfDay
</span><a href="#local-6989586621679071888"><span class="hs-identifier hs-var">tod</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-54"></span><span>    </span><span class="hs-special">(</span><span id="local-6989586621679071889"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679071889"><span class="hs-identifier hs-var">i</span></a></span></span><span class="hs-special">,</span><span id="local-6989586621679071888"><span class="annot"><span class="annottext">TimeOfDay
</span><a href="#local-6989586621679071888"><span class="hs-identifier hs-var">tod</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">TimeZone -&gt; TimeOfDay -&gt; (Integer, TimeOfDay)
</span><a href="Data.Time.LocalTime.Internal.TimeOfDay.html#utcToLocalTimeOfDay"><span class="hs-identifier hs-var">utcToLocalTimeOfDay</span></a></span><span> </span><span class="annot"><span class="annottext">TimeZone
</span><a href="#local-6989586621679071894"><span class="hs-identifier hs-var">tz</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">DiffTime -&gt; TimeOfDay
</span><a href="Data.Time.LocalTime.Internal.TimeOfDay.html#timeToTimeOfDay"><span class="hs-identifier hs-var">timeToTimeOfDay</span></a></span><span> </span><span class="annot"><span class="annottext">DiffTime
</span><a href="#local-6989586621679071891"><span class="hs-identifier hs-var">dt</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-55"></span><span>
</span><span id="line-56"></span><span class="hs-comment">-- | Get the UTC time of a local time in a time zone.</span><span>
</span><span id="line-57"></span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#localTimeToUTC"><span class="hs-identifier hs-type">localTimeToUTC</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.TimeZone.html#TimeZone"><span class="hs-identifier hs-type">TimeZone</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.UTCTime.html#UTCTime"><span class="hs-identifier hs-type">UTCTime</span></a></span><span>
</span><span id="line-58"></span><span id="localTimeToUTC"><span class="annot"><span class="annottext">localTimeToUTC :: TimeZone -&gt; LocalTime -&gt; UTCTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#localTimeToUTC"><span class="hs-identifier hs-var hs-var">localTimeToUTC</span></a></span></span><span> </span><span id="local-6989586621679071885"><span class="annot"><span class="annottext">TimeZone
</span><a href="#local-6989586621679071885"><span class="hs-identifier hs-var">tz</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span> </span><span id="local-6989586621679071884"><span class="annot"><span class="annottext">Day
</span><a href="#local-6989586621679071884"><span class="hs-identifier hs-var">day</span></a></span></span><span> </span><span id="local-6989586621679071883"><span class="annot"><span class="annottext">TimeOfDay
</span><a href="#local-6989586621679071883"><span class="hs-identifier hs-var">tod</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Day -&gt; DiffTime -&gt; UTCTime
</span><a href="Data.Time.Clock.Internal.UTCTime.html#UTCTime"><span class="hs-identifier hs-var">UTCTime</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Integer -&gt; Day -&gt; Day
</span><a href="Data.Time.Calendar.Days.html#addDays"><span class="hs-identifier hs-var">addDays</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679071882"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Day
</span><a href="#local-6989586621679071884"><span class="hs-identifier hs-var">day</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">TimeOfDay -&gt; DiffTime
</span><a href="Data.Time.LocalTime.Internal.TimeOfDay.html#timeOfDayToTime"><span class="hs-identifier hs-var">timeOfDayToTime</span></a></span><span> </span><span class="annot"><span class="annottext">TimeOfDay
</span><a href="#local-6989586621679071880"><span class="hs-identifier hs-var">todUTC</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-59"></span><span>    </span><span class="hs-special">(</span><span id="local-6989586621679071882"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679071882"><span class="hs-identifier hs-var">i</span></a></span></span><span class="hs-special">,</span><span id="local-6989586621679071880"><span class="annot"><span class="annottext">TimeOfDay
</span><a href="#local-6989586621679071880"><span class="hs-identifier hs-var">todUTC</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">TimeZone -&gt; TimeOfDay -&gt; (Integer, TimeOfDay)
</span><a href="Data.Time.LocalTime.Internal.TimeOfDay.html#localToUTCTimeOfDay"><span class="hs-identifier hs-var">localToUTCTimeOfDay</span></a></span><span> </span><span class="annot"><span class="annottext">TimeZone
</span><a href="#local-6989586621679071885"><span class="hs-identifier hs-var">tz</span></a></span><span> </span><span class="annot"><span class="annottext">TimeOfDay
</span><a href="#local-6989586621679071883"><span class="hs-identifier hs-var">tod</span></a></span><span>
</span><span id="line-60"></span><span>
</span><span id="line-61"></span><span class="hs-comment">-- | Get the local time of a UT1 time on a particular meridian (in degrees, positive is East).</span><span>
</span><span id="line-62"></span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#ut1ToLocalTime"><span class="hs-identifier hs-type">ut1ToLocalTime</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Real.html#Rational"><span class="hs-identifier hs-type">Rational</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.UniversalTime.html#UniversalTime"><span class="hs-identifier hs-type">UniversalTime</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span>
</span><span id="line-63"></span><span id="ut1ToLocalTime"><span class="annot"><span class="annottext">ut1ToLocalTime :: Rational -&gt; UniversalTime -&gt; LocalTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#ut1ToLocalTime"><span class="hs-identifier hs-var hs-var">ut1ToLocalTime</span></a></span></span><span> </span><span id="local-6989586621679071878"><span class="annot"><span class="annottext">Rational
</span><a href="#local-6989586621679071878"><span class="hs-identifier hs-var">long</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.Clock.Internal.UniversalTime.html#ModJulianDate"><span class="hs-identifier hs-type">ModJulianDate</span></a></span><span> </span><span id="local-6989586621679071876"><span class="annot"><span class="annottext">Rational
</span><a href="#local-6989586621679071876"><span class="hs-identifier hs-var">date</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Day -&gt; TimeOfDay -&gt; LocalTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-var">LocalTime</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Integer -&gt; Day
</span><a href="Data.Time.Calendar.Days.html#ModifiedJulianDay"><span class="hs-identifier hs-var">ModifiedJulianDay</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679071874"><span class="hs-identifier hs-var">localMJD</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Rational -&gt; TimeOfDay
</span><a href="Data.Time.LocalTime.Internal.TimeOfDay.html#dayFractionToTimeOfDay"><span class="hs-identifier hs-var">dayFractionToTimeOfDay</span></a></span><span> </span><span class="annot"><span class="annottext">Rational
</span><a href="#local-6989586621679071872"><span class="hs-identifier hs-var">localToDOffset</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-64"></span><span>    </span><span id="local-6989586621679071867"><span class="annot"><span class="annottext">localTime :: Rational
</span><a href="#local-6989586621679071867"><span class="hs-identifier hs-var hs-var">localTime</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Rational
</span><a href="#local-6989586621679071876"><span class="hs-identifier hs-var">date</span></a></span><span> </span><span class="annot"><span class="annottext">Rational -&gt; Rational -&gt; Rational
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#%2B"><span class="hs-operator hs-var">+</span></a></span><span> </span><span class="annot"><span class="annottext">Rational
</span><a href="#local-6989586621679071878"><span class="hs-identifier hs-var">long</span></a></span><span> </span><span class="annot"><span class="annottext">Rational -&gt; Rational -&gt; Rational
forall a. Fractional a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Real.html#%2F"><span class="hs-operator hs-var">/</span></a></span><span> </span><span class="annot"><span class="annottext">Rational
</span><span class="hs-number">360</span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Real.html#Rational"><span class="hs-identifier hs-type">Rational</span></a></span><span>
</span><span id="line-65"></span><span>    </span><span id="local-6989586621679071874"><span class="annot"><span class="annottext">localMJD :: Integer
</span><a href="#local-6989586621679071874"><span class="hs-identifier hs-var hs-var">localMJD</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Rational -&gt; Integer
forall a b. (RealFrac a, Integral b) =&gt; a -&gt; b
</span><a href="../../base/src/GHC.Real.html#floor"><span class="hs-identifier hs-var">floor</span></a></span><span> </span><span class="annot"><span class="annottext">Rational
</span><a href="#local-6989586621679071867"><span class="hs-identifier hs-var">localTime</span></a></span><span>
</span><span id="line-66"></span><span>    </span><span id="local-6989586621679071872"><span class="annot"><span class="annottext">localToDOffset :: Rational
</span><a href="#local-6989586621679071872"><span class="hs-identifier hs-var hs-var">localToDOffset</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Rational
</span><a href="#local-6989586621679071867"><span class="hs-identifier hs-var">localTime</span></a></span><span> </span><span class="annot"><span class="annottext">Rational -&gt; Rational -&gt; Rational
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Integer -&gt; Rational
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="../../base/src/GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679071874"><span class="hs-identifier hs-var">localMJD</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-67"></span><span>
</span><span id="line-68"></span><span class="hs-comment">-- | Get the UT1 time of a local time on a particular meridian (in degrees, positive is East).</span><span>
</span><span id="line-69"></span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#localTimeToUT1"><span class="hs-identifier hs-type">localTimeToUT1</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Real.html#Rational"><span class="hs-identifier hs-type">Rational</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.UniversalTime.html#UniversalTime"><span class="hs-identifier hs-type">UniversalTime</span></a></span><span>
</span><span id="line-70"></span><span id="localTimeToUT1"><span class="annot"><span class="annottext">localTimeToUT1 :: Rational -&gt; LocalTime -&gt; UniversalTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#localTimeToUT1"><span class="hs-identifier hs-var hs-var">localTimeToUT1</span></a></span></span><span> </span><span id="local-6989586621679071855"><span class="annot"><span class="annottext">Rational
</span><a href="#local-6989586621679071855"><span class="hs-identifier hs-var">long</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.LocalTime.Internal.LocalTime.html#LocalTime"><span class="hs-identifier hs-type">LocalTime</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.Calendar.Days.html#ModifiedJulianDay"><span class="hs-identifier hs-type">ModifiedJulianDay</span></a></span><span> </span><span id="local-6989586621679071854"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679071854"><span class="hs-identifier hs-var">localMJD</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679071853"><span class="annot"><span class="annottext">TimeOfDay
</span><a href="#local-6989586621679071853"><span class="hs-identifier hs-var">tod</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Rational -&gt; UniversalTime
</span><a href="Data.Time.Clock.Internal.UniversalTime.html#ModJulianDate"><span class="hs-identifier hs-var">ModJulianDate</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="annot"><span class="annottext">Integer -&gt; Rational
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="../../base/src/GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679071854"><span class="hs-identifier hs-var">localMJD</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Rational -&gt; Rational -&gt; Rational
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#%2B"><span class="hs-operator hs-var">+</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">TimeOfDay -&gt; Rational
</span><a href="Data.Time.LocalTime.Internal.TimeOfDay.html#timeOfDayToDayFraction"><span class="hs-identifier hs-var">timeOfDayToDayFraction</span></a></span><span> </span><span class="annot"><span class="annottext">TimeOfDay
</span><a href="#local-6989586621679071853"><span class="hs-identifier hs-var">tod</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Rational -&gt; Rational -&gt; Rational
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Rational
</span><a href="#local-6989586621679071855"><span class="hs-identifier hs-var">long</span></a></span><span> </span><span class="annot"><span class="annottext">Rational -&gt; Rational -&gt; Rational
forall a. Fractional a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Real.html#%2F"><span class="hs-operator hs-var">/</span></a></span><span> </span><span class="annot"><span class="annottext">Rational
</span><span class="hs-number">360</span></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-71"></span><span>
</span><span id="line-72"></span><span class="hs-comment">-- orphan instance</span><span>
</span><span id="line-73"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679071847"><span id="local-6989586621679071850"><span class="annot"><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-type">Show</span></a></span><span> </span><span class="annot"><a href="Data.Time.Clock.Internal.UniversalTime.html#UniversalTime"><span class="hs-identifier hs-type">UniversalTime</span></a></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-74"></span><span>    </span><span id="local-6989586621679071844"><span class="annot"><span class="annottext">show :: UniversalTime -&gt; String
</span><a href="#local-6989586621679071844"><span class="hs-identifier hs-var hs-var hs-var hs-var">show</span></a></span></span><span> </span><span id="local-6989586621679071843"><span class="annot"><span class="annottext">UniversalTime
</span><a href="#local-6989586621679071843"><span class="hs-identifier hs-var">t</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">LocalTime -&gt; String
forall a. Show a =&gt; a -&gt; String
</span><a href="../../base/src/GHC.Show.html#show"><span class="hs-identifier hs-var">show</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Rational -&gt; UniversalTime -&gt; LocalTime
</span><a href="Data.Time.LocalTime.Internal.LocalTime.html#ut1ToLocalTime"><span class="hs-identifier hs-var">ut1ToLocalTime</span></a></span><span> </span><span class="annot"><span class="annottext">Rational
</span><span class="hs-number">0</span></span><span> </span><span class="annot"><span class="annottext">UniversalTime
</span><a href="#local-6989586621679071843"><span class="hs-identifier hs-var">t</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-75"></span></pre></body></html>